package com.bjpn.workbench.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bjpn.workbench.bean.Activity;
import com.bjpn.workbench.bean.ActivityLike;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzy
 * @since 2022-09-06
 */
public interface ActivityService extends IService<Activity> {
    int saveActivity(Activity activity);
    List<Activity> getActivityByPageService(Integer pageNum, Integer pageSize, ActivityLike activityLike);
    List<Activity> getAllActivity();
}
